<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>LoginFail</title>
</head>
<body>
<script type="text/javascript"> 
var t=5;//设定跳转的时间 
setInterval("refer()",1000); //启动1秒定时 
function refer(){  
    if(t==0){ 
        location="Login.jsp"; //#设定跳转的链接地址 
    } 
    document.getElementById('show').innerHTML=""+t+"秒后返回登录界面"; // 显示倒计时 
    t--; // 计数器递减 
    //本文转自： 
} 
</script> 
<h2>登录失败</h2>
<p>用户名与密码不匹配！</p>
<p id="show"></p>
</body>
</html>